package com.joyplus.report.business.document;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFilter;
import com.joyplus.report.business.domain.PvUvModel;
import java.util.List;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * Created by  2018/5/28.
 */
@Data
@Document(collection = "distribution_pv_uv_statistics_hour")
public class DistributionPvUvStatisticsHourDocument {
  @JSONField(serialize = false)
  private int pv;
  @JSONField(serialize = false)
  private int uv;
  private String date;
  @JSONField(serialize = false)
  private int hour;
  @Field(value = "campaign_id")
  private String campaignId;
  private String campaignName;

  private List<PvUvModel> list;

}
